Manager Protocols

  • VOAuthClient is passed into the VOUserManager to manage registration and automatic token refreshing. A class must implement VOAuthClient and be passed into the VOUserManager login call.

    See more

    Declaration

    Objective-C

    @protocol VOAuthClient <NSObject>

    Swift

    protocol VOAuthClient : NSObjectProtocol
  • Objects that conform to the VOCachProtocol will be responsible for saving objects in temporal storage.

    See more

    Declaration

    Objective-C

    @protocol VOCacheProtocol

    Swift

    protocol VOCacheProtocol
  • VOGameManagerProtocol is the interface for all game related network requests. See VOGameManager for the default implementation of the interface.

    See more

    Declaration

    Objective-C

    @protocol VOGameManagerProtocol <NSObject>

    Swift

    protocol VOGameManagerProtocol : NSObjectProtocol
  • VOVoucherManagerProtocol is the protocol for the VOVoucherManager. This protocol is responsible for all network and caching methods for a VOVoucher (Gift).

    See more

    Declaration

    Objective-C

    @protocol VOVoucherManagerProtocol

    Swift

    protocol VOVoucherManagerProtocol
  • Objects that conform to this interface are responsible for retrieving VOMerchants from the Vouchr Server.

    See more

    Declaration

    Objective-C

    @protocol VOMerchantManagerProtocol <NSObject>

    Swift

    protocol VOMerchantManagerProtocol : NSObjectProtocol
  • VOPersistManagerProtocol is the interface for saving information indefinitely.

    See more

    Declaration

    Objective-C

    @protocol VOPersistManagerProtocol

    Swift

    protocol VOPersistManagerProtocol
  • VOAnalyticsManagerProtocol is the interface for tracking analytics. Analytic events will be triggered to a manager implementing this interface.

    See more

    Declaration

    Objective-C

    @protocol VOAnalyticsManagerProtocol

    Swift

    protocol VOAnalyticsManagerProtocol
  • VOUserManagerProtocol is an interface for all VOUser related network calls. If not using the default VOUserManager, the replacement must adhere to this protocol.

    See more

    Declaration

    Objective-C

    @protocol VOUserManagerProtocol

    Swift

    protocol VOUserManagerProtocol
  • VOYoutubeManagerProtocol is the interface responsible for getting Youtube Videos.

    See more

    Declaration

    Objective-C

    @protocol VOYoutubeManagerProtocol

    Swift

    protocol VOYoutubeManagerProtocol